home *** CD-ROM | disk | FTP | other *** search
/ Practical Algorithms for Image Analysis / Practical Algorithms for Image Analysis.iso / CH_2.4 / XSCALE / XSCALE.H < prev    next >
C/C++ Source or Header  |  1999-09-11  |  733b  |  47 lines

  1. /* 
  2.  * xph.h
  3.  * 
  4.  * Practical Algorithms for Image Analysis
  5.  * 
  6.  * Copyright (c) 1997, 1998, 1999 MLMSoftwareGroup, LLC
  7.  */
  8.  
  9.  
  10. #ifndef _XSCALE_H_
  11. #define    _XSCALE_H_
  12.  
  13. #include <stdio.h>
  14. #include <stdlib.h>
  15. #include <math.h>
  16. #include <malloc.h>
  17.  
  18. #include "ip.h"
  19.  
  20. #define    N_VERTEX    46L            /* number of distinct curv pts */
  21. #define    X_ORG        500
  22. #define    Y_ORG        140
  23. #define    N_MOM        15
  24.  
  25. #define    SQ2        1.414213562
  26.  
  27. #define    NA_MAX        128             /* max no allowed vertices in ph.c */
  28.  
  29. #define    ON        1
  30. #define    OFF        0
  31. #undef    ECHO_INPUT
  32.  
  33. #define    DISPL_PAGE    1
  34. #define    RESET        ON
  35. #define    EVAL_MOM    ON
  36.  
  37. #define    DEBUG
  38. #undef    DBG_MEM
  39.  
  40. /*
  41.  * Function prototypes
  42.  */
  43. extern int main (int, char **);
  44. extern void usage (char *);
  45.  
  46. #endif /* _XSCALE_H_ */
  47.